<?php
/*
 * @ https://EasyToYou.eu - IonCube v11 Decoder Online
 * @ PHP 7.2 & 7.3
 * @ Decoder version: 1.1.6
 * @ Release: 10/08/2022
 */

// Decoded file for php version 71.
namespace app\install\controller;

class Index
{
    public function index()
    {
        $lockPath = dirname(__FILE__) . DS . "install.lock";
        if(!file_exists($lockPath)) {
            clearCache(8888);
            clearCache(666);
            \app\admin\service\UpdateService::installSql(8888);
            $config_model = new \app\massage\model\ConfigSetting();
            $config_model->initData(666);
            file_put_contents($lockPath, time());
            echo " install ok ;";
        } else {
            echo " install no ;";
        }
    }
}

?>